package com.mdl.springmvc.tpg.service.impl;

import com.mdl.springmvc.tpg.dao.TpgJtcyxxMapper;
import com.mdl.springmvc.tpg.po.TpgJtcyxx;
import com.mdl.springmvc.tpg.service.TpgJtcyxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Desc
 * @Author madengling
 * @Time 2020/10/29 11:02
 */
@Service
public class TpgJtcyxxServiceImpl implements TpgJtcyxxService {
    @Autowired(required=false)
    private TpgJtcyxxMapper jtcyxxMapper;
    @Override
    public void insertTpgJtcyxx(List<TpgJtcyxx> jtcyxxes) {
        for(TpgJtcyxx jtcyxx: jtcyxxes){
            jtcyxxMapper.insert(jtcyxx);
        }
    }
}
